<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>文章管理系统</title>
<link href="<?php echo base_url() . 'style/index/' ?>css/details.css" rel="stylesheet" />
<script src="http://tinycoder.sinaapp.com/wp-content/themes/wwdl/scripts/jquery.js"></script>
<?php $this->load->view('index/head.html') ?>
	<div id="main">
		<div class='details'>
			<header class="entry-header">
			    <div class="date">
				    <div class="day"><?php echo date('d', $article['time']) ?></div>
				    <div class="month"><?php echo numberToCh(date('n', $article['time'])); ?></div>
			    </div>
			    <h2 class="title"><a href="http://tinycoder.sinaapp.com/?p=1" rel="bookmark" title="<?php echo $article['title'] ?>"><?php echo $article['title'] ?></a></h2>
			    <div class="meta">
			    	<em>发表于 <?php echo date('Y-m-d', $article['time']) ?></em>
			    	<a href="<?php echo site_url() . '/index/home/category/'. $article['cid']?>" rel="category">&nbsp;&nbsp;分类：<?php echo $article['cname'] ?></a>              
			    	<a href="http://tinycoder.sinaapp.com/?p=1#comments">
			    		<span class="comment-num">1</span>
			        </a>
			    </div>
			</header>
			<div class='content'>
				<?php echo $article['content'] ?>
			</div>
<div id="comments">
	<h2>3 Responses</h2>
	<div class="navigation">
		<div class="alignleft"></div>
		<div class="alignright"></div>
	</div>

	<ol class="commentlist">
		<li id="comment-1" class="comment even thread-even depth-1 parent">
			<div class="comment-body" id="div-comment-1">
				<div class="comment-author vcard">
					<img width="48" height="48" class="avatar avatar-48 photo avatar-default" src="http://0.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=48" alt="">
					<cite class="fn">
						<a class="url" rel="external nofollow" href="http://wordpress.org/">WordPress 先生</a>
					</cite>
					<span class="says">说道：</span>
				</div>

				<div class="comment-meta commentmetadata">
					<a href="http://tinycoder.sinaapp.com/?p=1#comment-1">2014 年 3 月 30 日 上午 11:00</a>
				</div>

				<p>
					您好，这是一条评论。
					<br>要删除评论，请先登录，然后再查看这篇文章的评论。在那里，您可以看到编辑或者删除评论的选项。</p>

				<div class="reply" style="display: none;">
					<a onclick="return addComment.moveForm('div-comment-1', '1', 'respond', '1')" href="/?p=1&replytocom=1#respond">回复</a>
				</div>
			</div>
			<ul class="children">
				<li id="comment-2" class="comment byuser comment-author-bzyyc-happy163-com bypostauthor odd alt depth-2">
					<div class="comment-body" id="div-comment-2">
						<div class="comment-author vcard">
							<img width="48" height="48" class="avatar avatar-48 photo" src="http://0.gravatar.com/avatar/4c83a818b576d71a44891c25e87e39d9?s=48&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D48&r=G" alt="">
							<cite class="fn">bzyyc.happy@163.com</cite>
							<span class="says">说道：</span>
						</div>

						<div class="comment-meta commentmetadata">
							<a href="http://tinycoder.sinaapp.com/?p=1#comment-2">2014 年 4 月 16 日 下午 1:40</a>
						</div>

						<p>hello world</p>

						<div class="reply" style="display: none;">
							<a onclick="return addComment.moveForm('div-comment-2', '2', 'respond', '1')" href="/?p=1&replytocom=2#respond">回复</a>
						</div>
					</div>
				</li>
			</ul>
		</li>
		<li id="comment-3" class="comment byuser comment-author-bzyyc-happy163-com bypostauthor even thread-odd thread-alt depth-1">
			<div class="comment-body" id="div-comment-3">
				<div class="comment-author vcard">
					<img width="48" height="48" class="avatar avatar-48 photo" src="http://0.gravatar.com/avatar/4c83a818b576d71a44891c25e87e39d9?s=48&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D48&r=G" alt="">
					<cite class="fn">bzyyc.happy@163.com</cite>
					<span class="says">说道：</span>
				</div>

				<div class="comment-meta commentmetadata">
					<a href="http://tinycoder.sinaapp.com/?p=1#comment-3">2014 年 4 月 16 日 下午 2:06</a>
				</div>

				<p>adfeafe</p>

				<div class="reply" style="display: none;">
					<a onclick="return addComment.moveForm('div-comment-3', '3', 'respond', '1')" href="/?p=1&replytocom=3#respond">回复</a>
				</div>
			</div>
		</li>
	</ol>

	<div class="navigation">
		<div class="alignleft"></div>
		<div class="alignright"></div>
		<div style="clear:both"></div>
	</div>

	<div id="respond">
		<h3 id="reply-title">
			发表评论
			<small>
				<a style="display:none;" href="/?p=1#respond" id="cancel-comment-reply-link" rel="nofollow">取消回复</a>
			</small>
		</h3>
		<form id="commentform" method="post" action="http://tinycoder.sinaapp.com/wp-comments-post.php">
			<p class="comment-notes">
				电子邮件地址不会被公开。 必填项已用
				<span class="required">*</span>
				标注
			</p>
			<p class="comment-form-author">
				<label for="author">姓名</label>
				<span class="required">*</span>
				<input type="text" aria-required="true" size="30" value="" name="author" id="author"></p>
			<p class="comment-form-email">
				<label for="email">电子邮件</label>
				<span class="required">*</span>
				<input type="text" aria-required="true" size="30" value="" name="email" id="email"></p>
			<p class="comment-form-url">
				<label for="url">站点</label>
				<input type="text" size="30" value="" name="url" id="url"></p>
			<p class="comment-form-comment">
				<label for="comment">评论</label>
				<textarea aria-required="true" rows="8" cols="45" name="comment" id="comment"></textarea>
			</p>
			<p class="form-allowed-tags">
				您可以使用这些 <abbr title="HyperText Markup Language">HTML</abbr>
				标签和属性：
				<code>&lt;a href="" title=""&gt; &lt;abbr title=""&gt; &lt;acronym title=""&gt; &lt;b&gt; &lt;blockquote cite=""&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=""&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=""&gt; &lt;strike&gt; &lt;strong&gt; </code>
			</p>
			<p class="form-submit">
				<input type="submit" value="发表评论" id="submit" name="submit">
				<input type="hidden" id="comment_post_ID" value="1" name="comment_post_ID">
				<input type="hidden" value="1" id="comment_parent" name="comment_parent"></p>
		</form>
	</div>
	<!-- #respond -->

	<script type="text/javascript">
jQuery('.comment-body').mouseover(function () {
	jQuery(this).children('.reply').show();
}).mouseleave(function () {
	jQuery(this).children('.reply').hide();
});
</script>

</div>
		</div>

	<?php $this->load->view('index/right.html') ?>
	</div>
	<?php $this->load->view('index/foot.html') ?>
	<script type='text/javascript' src='http://tinycoder.sinaapp.com/wp-includes/js/comment-reply.js?ver=3.4.1'></script>
</body>
</html>